<?php
class PaymentAcceptanceEntity extends AbstractEntity {
    
    public function __construct($valueMap) {
        parent::__construct(
                
                /* table */
                'payment_acceptance',
                
                /* field names */
                array(
	                    'organization_id',
	                    'seminar_id',
	                    'deadline',
	                    'accepts_cash',
	                    'cash_notes',
	                	'accepts_bank_transfer',
                		'bank_account_id',
                		'variable_symbol',
                		'bank_transfer_notes',
                		'confirmed_at',
                		'confirmed_by_id',
                		'confirmation_notes'
                ),
                
                /* primary keys */
                array('organization_id', 'seminar_id'),
                
                /* values */
                $valueMap
        );
    }
}
